package com.central.scheduler.master.runner.task;

import com.central.scheduler.common.Constants;

/**
 * @author Tindy
 * @date 2021/12/20
 * @describe
 */
public class CommonTaskProcessFactory implements ITaskProcessFactory {
    @Override
    public String type() {
        return Constants.COMMON_TASK_TYPE;

    }

    @Override
    public ITaskProcessor create() {
        return new CommonTaskProcessor();
    }
}
